package pers.smalltown.ourspace.wantdo;

import org.springframework.web.bind.annotation.*;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("/wantdo")
public class WantDoController {
    @GetMapping("/things/{thingsId}")
    public Map<String, Object> getWantdoThingById(@PathVariable String thingsId) {
        Map<String, Object> thing = new HashMap<>();
        thing.put("title", "打臭猪，太ha了");
        return thing;
    }
}
